<template>
  <div>
    <el-page-header @back="goBack"> </el-page-header>
    <div class="createInvoice">
      <div class="title">开具发票</div>
      <el-form ref="form" :model="form" label-width="150px">
        <el-form-item label="发票类型">
          <el-radio-group v-model="form.resource">
            <el-radio label="电子普通发票"></el-radio>
            <el-radio label="增值税专用发票"></el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="发票抬头">
          <el-radio-group v-model="form.resource">
            <el-radio label="个人"></el-radio>
            <el-radio label="单位"></el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="发票抬头">
          <el-input
            v-model="form.name"
            class="width604"
            placeholder="请输入企业全称"
          ></el-input>
        </el-form-item>
        <el-form-item label="单位税号">
          <el-input
            v-model="form.name"
            class="width604"
            placeholder="企业纳税号"
          >
            <template slot="append">元</template>
          </el-input>
        </el-form-item>
        <el-form-item label="开票金额">
          <el-input v-model="form.name" class="width604" disabled></el-input>
        </el-form-item>
        <el-form-item label="发票内容">
          <el-input
            v-model="form.name"
            class="width604"
            placeholder="服务费"
          ></el-input>
        </el-form-item>
        <el-form-item label="发票接收邮箱">
          <el-input
            v-model="form.name"
            class="width604"
            placeholder="我们将发送电子发票至您邮箱"
          ></el-input>
        </el-form-item>
        <el-form-item style="margin-top: 100px">
          <el-button class="width120">取消</el-button>
          <el-button class="width120" type="primary">提交</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  name: "createInvoice",
  data() {
    return {
      form: {},
    };
  },
};
</script>

<style lang="scss" scoped>
.createInvoice {
  background: #fff;
  min-height: calc(100vh - 120px);
  .title {
    font-size: 26px;
    font-weight: 500;
    color: #25b5d9;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding: 20px 0 20px 70px;
    margin: 20px 0;
    &::before {
      content: "";
      width: 104px;
      height: 10px;
      background: #25b5d9;
      border-radius: 5px;
      position: absolute;
      top: 70px;
    }
  }
  .width604 {
    width: 604px;
  }
}
</style>
